package dev.mcdd;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.crypto.password.Pbkdf2PasswordEncoder;

@SpringBootTest
class ApplicationTests {

    @Test
    void contextLoads() {
        Pbkdf2PasswordEncoder encoder = Pbkdf2PasswordEncoder.defaultsForSpringSecurity_v5_8();
//        String encode = encoder.encode("password1024");
        boolean matches = encoder.matches(
            "password1024",
            "62220177dcc48231c062c3af1a5afc42e7f5aa896f08881780d976784f211b4452fdabe7b046a547806160ea731fcff2");
    }

}
